﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YunSpace.Data;
using YunSpace.Domain.Entity.MiniSite;
using YunSpace.Domain.ViewModel.MiniSite;

namespace YunSpace.Domain.IRepository.MiniSite
{
    public interface IMessageRecordRepository : IRepositoryBase<MessageRecordEntity>
    {
        AllMessageActionModel GetAllMessage(string customerId);


        //List<ActivitiyMessageActionModel> GetActivitiyMessages(string customerId, string lastId, int count);
        List<MessageRecordEntity> GetActivitiyMessages(string customerId, int messageType, string lastId, int count);
        

        bool UpdateActivitiyMessageStatus(string id);

    }
}
